package com.ropeok.service;

import com.ropeok.entity.Privilege;

public interface PrivilegeService {
    //根据ID查询权限
    Privilege findPrivilegeByID(long id);
    //增加权限
    int addPrivilege(Privilege privilege);
    //删除权限
    int deletePrivilege(long id);
    //查询权限列表
    <List> java.util.List<Privilege> getPrivilegeList();
    //修改权限
    Integer updatePrivilege(Privilege privilege);
}
